//
//  FoodDetailViewController.h
//  ZooNgonDoiOS
//
//  Created by Tran Minh Long on 11/8/12.
//  Copyright (c) 2012 Personal. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZooFoodBean;
@class ZooSpotBean;
@class FoodDetailTableView;

@protocol FoodDetailDelegate <NSObject>

@optional
- (void) pushToFoodDetailScreen: (ZooFoodBean*) foodBean;
- (void) backToMenuView;

- (void) pushToSpotDetailScreen: (ZooSpotBean*) spotBean;

@end

@interface FoodDetailViewController : UIViewController <FoodDetailDelegate>
{
    CGSize _screenSize;
    
    ZooFoodBean *_spotBean;
    
    // Header
    UIView *_vHeader;
    UIButton *_btnBack;
    UIButton *_btnComment;
    UIButton *_btnShare;
    
    // Tabbar
    UIView *_vMenuBar;
    UIButton *_btnCommentHeader;
    UIButton *_btnMenu;
    UIButton *_btnLike;
    
    // Content
    FoodDetailTableView *_vTableContent;
}

@property (nonatomic, retain) id <FoodDetailDelegate> foodDetailDelegate;
@property (nonatomic, retain) ZooFoodBean *_foodBean;

- (id) initWithFood: (ZooFoodBean*) zooFoodBean;

@end
